package com.li.service;

import com.li.domain.Advertisement;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

public interface AdvertisementService extends IService<Advertisement>{


    List<Advertisement> listPageAdvertisement(Advertisement advertisement, Integer page, Integer limit);

    Integer listPageAdvertisementCount(Advertisement advertisement);

    String uploadImage(MultipartFile uploadFile,String remark, HttpServletRequest req);

    void delAdvertisements(Integer[] ids);
}
